package com.weimi.phh.base;

import android.annotation.SuppressLint;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;

import com.weimi.phh.utils.ActivityUtil;

@SuppressLint("MissingSuperCall")
public abstract class BaseActivity extends FragmentActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        ActivityUtil.hideTitleBar(this);
        init();
        initView();
        setListener();
        initData();
    }

    protected void initData() {
    }

    protected void init() {
    }

    protected void UIConfig(){

    }
    protected abstract void initView();
    protected abstract void setListener();

}
